﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="CapPhatThe.aspx.cs" Inherits="Doan_ver1.CapPhatThe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <title>Cấp phát thẻ</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <div class="nenMenu">
        <asp:Menu ID="Menu1" runat="server" IncludeStyleBlock="False" CssClass="Menu1" Orientation="Horizontal"
            EnableViewState="False">
            <DynamicItemTemplate>
                <%# Eval("Text") %>
            </DynamicItemTemplate>
            <Items>
                <asp:MenuItem Text="Thông tin cá nhân" Value="Thông tin cá nhân" NavigateUrl="Personal.aspx">
                </asp:MenuItem>
                <asp:MenuItem Text="Cấp phát thẻ" Value="Cấp phát thẻ" NavigateUrl="CapPhatThe.aspx">
                </asp:MenuItem>
                <asp:MenuItem Text="Nạp tiền" Value="Nạp tiền" NavigateUrl="NapTien.aspx"></asp:MenuItem>
                <asp:MenuItem Text="Rút tiền" Value="Nạp tiền" NavigateUrl="RutTien.aspx"></asp:MenuItem>
                <asp:MenuItem Text="Lịch sử giao dịch" Value="Lịch Sử" NavigateUrl="~/LichSuGDNganHang.aspx"></asp:MenuItem>
            </Items>
            <StaticItemTemplate>
                <%# Eval("Text") %>
            </StaticItemTemplate>
        </asp:Menu>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
    <div>
        Danh sách loại thẻ:
        <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="LinqDataSource"
            DataTextField="TenLoaiThe" DataValueField="TenLoaiThe" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
        </asp:DropDownList>
        <asp:LinqDataSource ID="LinqDataSource" runat="server" ContextTypeName="Doan_ver1.SQLNganHangDataContext"
            EntityTypeName="" GroupBy="TenLoaiThe" Select="new (key as TenLoaiThe, it as LoaiThes)"
            TableName="LoaiThes">
        </asp:LinqDataSource>
    </div>
</asp:Content>
